package com.liming.common.pojo.dto.authinfo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author liming
 * @date 2025/2/18
 */
@Data
@Schema(description = "添加或更新菜单")
public class AddOrUpdateMenuDTO {

    @Schema(description = "菜单id")
    private Long id;

    @Schema(description = "父级菜单id")
    private Long parentId;

    @Schema(description = "菜单名称")
    private String name;

    @Schema(description = "类型 1菜单")
    private Integer type;

    @Schema(description = "菜单路径")
    private String path;

    @Schema(description = "菜单组件")
    private String component;

    @Schema(description = "菜单图标")
    private String icon;

    @Schema(description = "菜单排序")
    private Integer sort;

    @Schema(description = "菜单状态")
    private Integer status;

    @Schema(description = "菜单是否隐藏")
    private Integer hidden;
}
